﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace Vit.DynamicFormModule.Areas.Form.Models
{
    public class InputValue
    {
        [Key]
        [StringLength(50)]
        [Required]
        [Column(Order = 1)]
        public string InputID { get; set; }
        [Key]
        [StringLength(50)]
        [Required]
        [Column(Order = 2)]
        public string FieldName { get; set; }
        [StringLength(50)]
        public string InputText { get; set; }
        [StringLength(50)]
        public string InputContent { get; set; }
        [StringLength(5000)]
        public string InputXml { get; set; }
        public byte[] InputBinary { get; set; }

        public virtual FormInput Input { get; set; }
    }
}